package com.igeek.boot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
@Data
@TableName("suppliers")
@ApiModel(value="Suppliers对象", description="")
public class Suppliers implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商ID（SupplierID）：唯一标识每个供应商的ID")
    @TableId(value = "supplierID", type = IdType.AUTO)
    private Integer supplierID;

    @ApiModelProperty(value = "供应商名称（SupplierName）：供应商的名称")
    @TableField("supplier_name")
    private String supplierName;

    @ApiModelProperty(value = "供应商地址（SupplierAddress）：供应商的地址")
    @TableField("supplier_address")
    private String supplierAddress;

    @ApiModelProperty(value = "身份证号")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty(value = "外键：关联用户表id")
    @TableField("user_id")
    private Integer userId;


}
